package com.xgll.modules.api.dao;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.xgll.modules.api.entity.CategoryVo;
import com.xgll.modules.sys.dao.BaseDao;

/**
 * @author blowfish
 * @email lsc0630@tom.com
 * @date 2017-08-11 09:14:25
 */
@Mapper
public interface ApiCategoryMapper extends BaseDao<CategoryVo> {

    List<Integer> findParentByKey(String key);

    List<Integer> findByKeyWord(String key);

    ArrayList<Integer> findChildId(Integer id);

    List<Map<String, Object>> queryByParentId(Integer id);

    List<Map<String ,Object>> about(Map<String ,Object> map);

}
